<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<body>
<h1>jianglai BBS</h1><br/>
<a href="/login/adminIndex.do">首页</a>
<c:if test="${user != null}">
    ${user.nickName}  <a href="/login/logout.do">登出</a>
</c:if>
    <p>
        资源名称：${resource.name}<br/>
        资源类型：<select name="type" value="${resource.type}" disabled="disabled">
                    <option value="1">资源</option>
                </select><br/>
        资源地址：${resource.url}<br/>
        顺序：${resource.orderNo}<br/>
    </p>
</body>
</html>
